from flask import Blueprint
from flask_restplus import Api

# 蓝图声明
label = Blueprint('label', __name__)

# 路由声明
label_api = Api(label, version='1.0', title='标签相关', description='标签相关API都在这里')
label_ns = label_api.namespace('', description='标签模块的接口列表')

# 必须有，否则无法生成对应路由
from .filed import label_filed
from .resource import label_resource

